﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Mogre;

namespace WastedMechanics
{
    public class CharacterProfile 
    {
        // Nazwa pliku siatki postaci
        public String DefaultBodyMeshName;
        public Character.ArmsAppearances DefaultArmsAppearance;
        public String HeadMeshName;
        public bool DefaultHeadVisibility;
        public Dictionary<Character.ArmsAppearances, String> ArmsMeshNames = new Dictionary<Character.ArmsAppearances, string>();
        

        // Masa ciała potrzebna Newtonowi
        public float BodyMass;
        // Prędkość chodu
        public float WalkSpeed;
        public float RunSpeed;        
        public Vector3 BoundingBoxSize;
        // Punkt, w którym znajduje się głowa postaci względem środka jej ciężkości
        public Vector3 HeadOffset;
        public Vector3 AimOffset;

        public String DisplayName;
        public String Description;
        public Vector3 DisplayNameOffset;
        
        public TalkReactions TalkResponse;
        
        public CharacterStats Stats;

        public SoundEffect SoundFootstepFx;
        public SoundEffect SoundDieFx;

        public CharacterProfile Clone()
        {
            CharacterProfile clone = (CharacterProfile)this.MemberwiseClone();
            clone.Stats = this.Stats.Clone();
            return clone;
        }
    }
}
